#include "junix.h"
#include <boost/multi_array.hpp>

using namespace std;

int main(int argc, char **argv)
{
	typedef boost::multi_array<double,2> MATRIX;
	typedef MATRIX::index index;

	const std::size_t row = 100000;
	const std::size_t col = 10;
	MATRIX matrix(boost::extents[row][col]);
	srand(time(0));

	for (index i=0;i<row;i++)
		for (index j=0;j<col;j++)
		{
			matrix[i][j] = rand()%row;
		}

	for (index i=0;i<row;i++)
		for (index j=0;j<col;j++)
		{
			cout<<matrix[i][j]<<" ";
		}

	cout<<endl;
}
